#include "splitter.h"

splitter::splitter()
{
	QSplitter *sp1 = new QSplitter(Qt::Vertical, 0);
	com1 = new QComboBox(sp1);
	com2 = new QComboBox(sp1);
	com3 = new QComboBox(sp1);
	com1->addItem("123", 1);
	com1->addItem("456", 1);
	com2->addItem("hehe", 1);
	com2->addItem("haha", 1);
	com3->addItem("123", 1);
	com3->addItem("456", 1);

	QSplitter *sp2 = new QSplitter(Qt::Horizontal, sp1);
	text1 = new QTextEdit("123", sp2);
	text2 = new QTextEdit("456", sp2);

	setCentralWidget(sp1);
}
